<template>
    <div class="card-box">
        <el-card class="box-card">
            <div class="msg">
                <div>
                    <span class="title">总部信息</span>
                </div>
                <div class="action">
                    <i class='bx bx-edit-alt'></i>
                </div>

            </div>
            <div class="msg item">
                <span class="nomal">规模</span>
                <span class="primary">{{ headquartersInfo.sale }}</span>
            </div>
            <div class="msg item">
                <span class="nomal">行业</span>
                <span class="primary">{{ headquartersInfo.industry }}</span>
            </div>
            <div class="msg item">
                <span class="nomal">投放数量</span>
                <span class="primary">{{ headquartersInfo.count }}</span>
            </div>
            <div class="msg item">
                <span class="nomal">用途</span>
                <span class="primary">{{ headquartersInfo.useTo }}</span>
            </div>
        </el-card>
    </div>
</template>
<style scoped>
.card-box {
    width: 80vh;
    height: 37.4vh;
}

.box-card {
    height: 100%;
}

.title {
    font-weight: 500;
}


.msg {
    display: flex;
    margin-right: 10px;
    justify-content: space-between;
}

.item {
    margin-right: 10px;
    margin-top: 16px;
}

.msg .action i {
    color: #0080ff;
    cursor: pointer;
    font-size: 20px;
}

.nomal {
    font-weight: 200;
    color: rgb(170, 170, 170);
}

.primary {
    font-weight: 600;
}
</style>
<script>
export default {
    props: {
        headquartersInfo: {
            scale: {
                type: String,
                default: '平台规模'
            },
            industry: {
                type: String,
                default: '平台所属行业'
            },

            province: {
                type: String,
                default: '省份'
            },
            district: {
                type: String,
                default: '区县'
            },
            detailAddress: {
                type: String,
                default: '详细地址'
            }
        }
        // userinfo: {
        //     userId: {
        //         type: String,
        //         default: '0'
        //     },
        //     nicname: {
        //         type: String,
        //         default: '用户名'
        //     },
        //     account: {
        //         type: String,
        //         default: '用户账号'
        //     },
        //     phone: {
        //         type: String,
        //         default: '用户手机号'
        //     },
        //     email: {
        //         type: String,
        //         default: '用户电子邮箱'
        //     },
        //     company: {
        //         type: String,
        //         default: '用户所属公司'
        //     }
        // }
    }
}
</script>